import httpx

url = 'http://127.0.0.1:8000/qingjia/'
data = {
    'pid':3,
    'geshi': "{'请假日期': 'date','结束日期': 'date','原因': 'text'}"
}

#for i in range(100):, data=data
r = httpx.put(url,data=data)
print(r.text)